home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi Magazine Collection 2001
/
Delphi Magazine Collection 20001 (2001).iso
/
DISKS
/
Issue42
/
paradox
/
DBStuffU.pas
< prev
Wrap
Pascal/Delphi Source File
|
1998-10-16
|
768b
|
43 lines
unit DBStuffU;
interface
uses
WinProcs, WinTypes, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Db, Grids, DBGrids, DBTables;
type
TForm1 = class(TForm)
Table1: TTable;
DBGrid1: TDBGrid;
DataSource1: TDataSource;
procedure FormCreate(Sender: TObject);
procedure Table1AfterPost(DataSet: TDataSet);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
uses
DBCheckU, DbiProcs;
{$R *.DFM}
procedure TForm1.FormCreate(Sender: TObject);
begin
CheckOKForParadoxAppToRun
end;
procedure TForm1.Table1AfterPost(DataSet: TDataSet);
begin
Check(DbiSaveChanges((DataSet as TTable).Handle))
end;
end.